.class public Les/ay;
.super Les/zx;
.source "AnalysisBlockItem.java"


# instance fields
.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Les/zx;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    .line 2
    new-instance p1, Ljava/text/DecimalFormat;

    const-string v0, " 0%"

    invoke-direct {p1, v0}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    return-void
.end method

.method public static a(Ljava/lang/String;)V
    .locals 2

    .line 9
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->o()Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1, p0}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->a(ZLjava/lang/String;)V

    return-void
.end method

.method private c(I)Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Les/zx;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 3
    invoke-static {}, Lcom/estrongs/android/ui/homepage/j;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    const v0, 0x7f1104ca

    .line 4
    invoke-virtual {p0, v0}, Les/ay;->b(I)V

    goto :goto_0

    :cond_0
    const v0, 0x7f1104c9

    .line 5
    invoke-virtual {p0, v0}, Les/ay;->b(I)V

    :goto_0
    const v0, 0x7f1104cc

    .line 6
    invoke-virtual {p0, v0}, Les/ay;->a(I)V

    .line 7
    iget-object v0, p0, Les/ay;->d:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    const/4 v1, 0x0

    .line 8
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method public a(I)V
    .locals 1

    .line 1
    iget-object v0, p0, Les/ay;->d:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    .line 2
    invoke-direct {p0, p1}, Les/ay;->c(I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public b(I)V
    .locals 1

    .line 7
    iget-object v0, p0, Les/ay;->c:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    .line 8
    invoke-direct {p0, p1}, Les/ay;->c(I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method protected b(Landroid/view/View;)V
    .locals 1

    const v0, 0x7f0904ff

    .line 1
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Les/ay;->c:Landroid/widget/TextView;

    const v0, 0x7f0904fe

    .line 2
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Les/ay;->d:Landroid/widget/TextView;

    const v0, 0x7f0904fd

    .line 3
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Les/ay;->e:Landroid/widget/TextView;

    const/4 v0, 0x1

    .line 4
    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setFocusable(Z)V

    .line 5
    iget-object p1, p0, Les/ay;->e:Landroid/widget/TextView;

    const v0, 0x7f1104c6

    invoke-direct {p0, v0}, Les/ay;->c(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 6
    iget-object p1, p0, Les/ay;->e:Landroid/widget/TextView;

    new-instance v0, Les/ay$a;

    invoke-direct {v0, p0}, Les/ay$a;-><init>(Les/ay;)V

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method
